<?php
session_start();
session_destroy();
//echo "<script>location.replace(document.referrer)</script>";
header("location:index.php");